package com.example.dell.controllsmall.activity.activity;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

import com.example.dell.controllsmall.activity.ControllApplication;
import com.example.dell.controllsmall.activity.R;
import com.example.dell.controllsmall.activity.asr.CustomControl;
import com.example.dell.controllsmall.activity.youdao.TranslateLanguage;
import com.iflytek.aiui.AIUIConstant;
import com.iflytek.aiui.AIUIEvent;
import com.iflytek.aiui.AIUIListener;
import com.ocean.mvp.library.utils.L;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.Random;


public class MainActivity extends AppCompatActivity {

    private TextView tv_speak, tv_content;
    private Context mContext;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mContext = this;


        (tv_speak) = (TextView) findViewById(R.id.tv_speak);
        (tv_content) = (TextView) findViewById(R.id.tv_content);
        tv_speak.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            }
        });
    }


}
